package dao;


import com.alibaba.fastjson.JSON;

import entity.Admin;
import entity.Teacher;

public interface AdminDao {
	
	public boolean login(Admin admin);
	
	public boolean doInsert(Admin admin);
	
	public JSON findAllTeacher();
	
	public JSON findAllAdmin();
	
	public boolean addTeacher();
	
	public boolean update2Admin(Teacher teacher);
	
	public boolean deleteTeacher(Teacher teacher);
	
	
}
